package cn.wjzhang.service;

import cn.hutool.core.lang.tree.Tree;
import cn.wjzhang.entity.NavCategoryEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface NavCategoryService extends IService<NavCategoryEntity> {

	/**
	 * 构建树
	 * @param parentId 父节点ID
	 * @param categoryName 分类名称
	 * @return
	 */
	List<Tree<Long>> treeCategory(Long parentId, String categoryName, String type);
}